package com.caigou.mapper.cms;

;
import com.caigou.bean.cms.entity.SurveySubmitUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SurveySubmitUserMapper {
    List<SurveySubmitUser> loadSurveySubmit(@Param("formId") String formId, @Param("questionId") Integer questionId, @Param("userId") String userId, @Param("deviceId") String deviceId);

    int updateFormAnswer(@Param("id") Integer answerId, @Param("answer") String answer);

    int saveSurveySubmit(SurveySubmitUser surveySubmit);

    List<SurveySubmitUser> loadSurveySubmitByIds(@Param("submitId") String submitId);
}
